@extends('admin.common.base-master')

@section('html-head')
    {{--<link href="{{url('/vendor/tyupload/control/css/zyUpload.css')}}" type="text/css" rel="stylesheet" />--}}
    {{--<link href="{{url('css/jquery.form.css')}}" type="text/css" rel="stylesheet" />--}}
    {{--<script src="{{url('/vendor/My97DatePicker/WdatePicker.js')}}"></script>--}}
    {{--<script src="{{url('/js/lib/jquery.form.js')}}"></script>--}}
@endsection

@section('html-body')
    <div id="content">
        <div id="cur-position">
            <span class="tit">用户管理</span>
            <a href="#">个人信息</a>
            <em>&gt;</em>
            <a href="#">个人信息详情</a>
        </div>
        <!-- cur-position end -->

        <div class="gg-step2">

            <div class="list-wrap">
                <h2 class="head">
                    <span class="span1">个人详情</span>
                </h2>
                <!-- list-text-box start -->
                <div class="list-text-box">
                    <div class="list-text">
                        <label class="tit">头像：</label>
                        <div class="cont">
                            <img src="@if($users){{$users->photo_url}} @endif" style="width: 50px">
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">电话号码：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->phone}} @endif</p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">真实姓名：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->realname}} @endif</p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">昵称：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->nickname}} @endif</p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">性别：</label>
                        <div class="cont">
                            <p class="text">
                                @if($users && $users->sex == 0)
                                    不限
                                @elseif($users && $users->sex == 1)
                                    男
                                @elseif($users && $users->sex == 2)
                                    女
                                @endif
                            </p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">出生年月日：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->birth}} @endif</p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">省份：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->province}} @endif</p>

                        </div>
                    </div>
                    <div class="list-text">
                        <label class="tit">城市：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->city}} @endif</p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">地区：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->area}} @endif</p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">详细地址：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->address_detail}} @endif</p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">个人标签：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->tag}} @endif</p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">积分：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->integral}} @endif</p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">技能：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->skill}} @endif</p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">个人认证情况：</label>
                        <div class="cont">
                            <p class="text">
                                @if($users && $users->personal_auth == 0)
                                    未认证
                                @elseif($users && $users->personal_auth == 2)
                                     <span style="color:orange;">认证中</span>
                                @elseif($users && $users->personal_auth == 1)
                                     <span style="color:green;">已认证</span>
                                @elseif($users && $users->personal_auth == 3)
                                     <span style="color:red;">认证失败</span>
                                @endif
                            </p>
                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">企业认证情况：</label>
                        <div class="cont">
                            <p class="text">
                                @if($users && $users->company_auth == 0)
                                    未认证
                                @elseif($users && $users->personal_auth == 2)
                                    <span style="color:orange;">认证中</span>
                                @elseif($users && $users->personal_auth == 1)
                                    <span style="color:green;">已认证</span>
                                @elseif($users &&$users->personal_auth == 3)
                                    <span style="color:red;">认证失败</span>
                                @endif
                            </p>

                        </div>
                    </div>

                    <div class="list-text">
                        <label class="tit">注册时间：</label>
                        <div class="cont">
                            <p class="text">@if($users){{$users->created_at}} @endif</p>

                        </div>
                    </div>
                </div>
                <!-- list-text-box end -->
            </div>
        </div>
    </div>
@endsection

